projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5911e5
)
Bind C-z to suspend-frame instead of suspend-emacs.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Thu, 20 Sep 2007 21:49:18 +0000
(21:49 +0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Thu, 20 Sep 2007 21:49:18 +0000
(21:49 +0000)
lisp/bindings.el
patch
|
blob
|
history
diff --git
a/lisp/bindings.el
b/lisp/bindings.el
index 77c0423e157631ab02bf49736b5af10baae66835..54a322011b9a46aab785175916005bb9f1bae28c 100644
(file)
--- a/
lisp/bindings.el
+++ b/
lisp/bindings.el
@@
-657,6
+657,10
@@
language you are using."
(define-key global-map "\e\e\e" 'keyboard-escape-quit)
(define-key global-map "\C-g" 'keyboard-quit)
+;; Used to be in termdev.el: when using several terminals, make C-z
+;; suspend only the relevant terminal.
+(substitute-key-definition 'suspend-emacs 'suspend-frame global-map)
+
(define-key global-map "\C-j" 'newline-and-indent)
(define-key global-map "\C-m" 'newline)
(define-key global-map "\C-o" 'open-line)